Add file for js and require it in view