loading scripts for widget, creating widget js file that can be overridden
creating form js class