added some more files and working on magic.js