less, template and javascript reload finally works. Added some callback hell to the mix