Fixes JSHint and some files with problems

1. Fixes JSHint
2. Separates browser and node files because they are different environments
3. Separates dev and prod client tasks because we shouldn't have things like console and alert in prod