Update magLite.js

add unregister method to injector