Trainer create page basics working

Javascript helper library added