use optional permissions for twitter expando since URL has changed.
re-added runtime stuff after adding optional twitter permissions
add hashcode function
loads of whitespace cleanup and formatting (used SublimeText jsFormat plugin)