refactoring store nav tab functions
add cart template and link with ajax
clean up sidebar and navigation code
add jshint