small js usability fix