trigger success after js was loaded, if there is