updated app js require game