Fixed to crypt handling and JSHint
Removed underscores
Fixed test suite
Minor renamings