Split out source/style js.
jshint.
De-templatify lib.js
jshint lib.js
Merge pull request #347 from mapbox/split-out-js

Split out source/style js