small js fixes+ js game template