Fixed Customer ajax issues

Added chosen event, unified into same function