add js code from simplerpg project
start by menu