comparing javascript and mark11