move javascript to the bottom