committing to js