create a javacript