adding back button and starting to combine javascripts
merging