how do i get this to run in browser
It should run automatically I believe. Your browser version may be causing errors.