adjustments to js