move all javascript into js dir