Caesar Cipher Hackerrank Solution In Javascript