Create javaScript