Moving unregistration of change listener into asset_index.html.

Fixes broken integration test on master.
Merge pull request #1089 from edx/christina/basejs_bug

Moving unregistration of change listener into asset_index.html.

Build passed when ran manually (automatic one is running now).