added typeahead js dependency
added JSON support to rex-api-functions
initial prototype