Now main.js can be rendered with middleman and foreman

Fix issue #135