Moved JS into seperate file and fixed margin around h1