Fixed active param in Layer.js and moved the build html file to the root