fix handling of 3rd party sites
add bootstrap-alert on js