Moved scripts to bottom
Adding local storage functionality