Revert "Deleting the un-used java script"

This reverts commit d58fb27bd5b8ce237616bfad3728f891cd0e61c7.