adding java script for Retos