Javascript Function Example Problems For Continuum