javascript for create8