Cleaned up JSLint issues and refactored the code a bit
Finished JSLint cleanup
Setting some cswclient stuff outside of the constructor of cswclient
JSLint clean up