mv javascript file to views