initial JS and game view