still write js code