replace javascript popup by select html input
apply animate jquery event, rectify some css styles