modify js timing