Move javascripts to file
Fix profile block arrow position
Add bottom margin