javascript code cleaning
new bootstrap ui
remove un-used div
error alert is renamed to danger in new bootstrap