Javascript Game Initial setup