Changed the order of javascript files