Moved javascript to the bottom