fixed bug where the arguments to the original fn was wrong. Also attached main.js, main.map