ES5'ify the code -- forget pre-ES5 now