Javascript GaminG framework