JavaScript for actions should not be placed inside of the controller file or the action view file. Instead, the JavaScript should be placed inside of a controller JavaScript file stored in the /app/scripts directory (ex: /app/scripts/users.script.js).
NOTE: the Fabriq framework has the jQuery library includes built in so all jQuery functionality is available to your JavaScript controller files.
