Spreading out JavaScript to more files

Moved overarching routing of audio path into its own JavaScript file,
spectrogram routing is still internal to spectrogram.js, currently
working to make it a declarable class.