move javascript to footer.