Initial refactoring. Adding spaces around operators, removing commented out code, changing to single quotes.

Issue: Clean Up
Reviewer: None
JSHinting the showPage method in the fieldbook-common.js, and trying to fix up the invalid if statement in the middle.

Issue: Cleanup
Reviewer: Naymesh M