Style and js fixes in object