adding some js things