Update magLite.js

Added AOP