moved function to .jqm and made changed to binds