Rail Fence Cipher - Javascript | SlaveCode