fixed js things