Moved script calls to the bottom of the file
Removed doc ready now that script is at the bottom