Create main.javascript