Created JS for hint