Removing DS store and seperating javascript