Added js event handlers
Divided js controller in 'ajax' and 'videos' modules
Modified templates to comply with new js namespace