Added new revgen route and separated js files.