Optimised javascript, Removed Old Library, Dropdown z-index fix