Create light-matrix.js

- moved js from index.html