Some layout improvment in javascripts
Modifications for Adminstrap