JS solution to 36 added. isPalindrome() moved from 4.js into euler.js and 4.js refactored