Merge pull request #10 from varya/master

Use JSCS as a grunt task to check JavaScript code convention
Allow vars in loops