Added new utils.js file for any js function that need to be loaded in the header. Also update ui.js to add the defined function to the linz scope to prevent global namespace polution.
Update the pattern for number widget to allow on numbers.