Reorganized LESS, added mixins, and edited javascript for web mode