reordered js application file