moving js to the bottom of timeline