moves processComplexType into its own function. Minor style updates.
updates code to use phantomjs. error in $.ajax call
uses phantoms document load rather than jQuery
adds error handling support
abstracts file paths
uses local copy of jquery
removes test.html
adds lint declarations
cleans variable indentation
parse_xsd writes the output using returned values instead of console.log
Merge pull request #1 from frimmel/master

updates parse-xml to use phantomjs