Add JSHint

	* Fix some JSHint tips
Add travis.yml