Replace CC-BY-UK-2.0 licensed with New BSD licensed sha256 code
Change license from GPL to MIT-style after agreement from all authors
Correctly load CryptoJS
Consistent coding style (jslint)