deleted not needed javascript