.on for reloading js after ajax call