KitchenSink: Moved all js for the KS to app.js

Moved all the JS for each example into a common file so that no external links are required