javascript files reordering