removed unused javascript stuff