Making feature work correctly even when assets are reloaded; adding more examples to SampleController.groovy