Changed theme_form_element_label() to not use the word 'for' as an object property, it needs to be used as an array key instead. Changed drupalgap_includes_load() to write any errorThrown to the console.