added token input jquery files, refactored  djs_controller index code