moved stuff to js dir