Updates js to have config