Added some sample Javascript to demo controller for testing purposes