fixed error in js causing project_widget not to render in IE