add setTimeout/Interval to context
fix source maps in FF
huge refactor