create a javascript