Create Main.javascript