renamed /restructured the javascript files