small adjustments to js