fix whitespace bug
add npm auto-deploy and code climate support to travis.yml