Moved javascript to body