some js things