AOP-ing your JavaScript