rearranged js link order