replaced the path helper with the new root helper
fixed a bug in the js assets controller