changed some css formatting and added document.ready to  javascript
added ready