adding some javascript questions