Update magLite.js

missing name in getscope call