Create magLite.js