add some js usability