Fixed bug where notification and user menus wouldn't appear in the correct position when the window was resized
Changed design of notification and user menus
Moved javascript functions to js.js