Adding main.js from old viennaphp code base