Made nc_transcript work with IE and requirejs proper.

Changed modules to use define as requirejs expected. Cleaned up some code. Works proper with IE8 now.