More informative errors when evaluating javascript files