Revert "Revert "fixed javascript path for sample game""

This reverts commit 287753df20961c828e4a323dc7f857272aeabf2d.