gitignore updated
refactored values as constants
added karma testing environment; syntax checking now available only by running `grunt`