Adds javascript decrypt function for Basic Mission 6.