finished jscript assignment