Moved javascript to bottom