fixed small js bug. added email style