initial game js framework