Moved JavaScript stuff to the right package