js exercises for NSS