added stuff to js