clean up tumblr.js port