create ogre JavaScript version sample