creates js skeleton