working on TestFirstJavascript Spec 5 and 6