Require js fix

Changed data files to use an appropriate export method.

Converted the outputting of data files to use a template file.

Added bower package info in hopes of registering it as a component.

Closes #36 and #38