Drive code to its own JS file

Refactored Drive code to its own JS file so it can be re-used. Created
-next version of dynamic-frame to test it out without affecting 'prod'.
Added integration code to analysis.html to test.