render game in browser