javascripting and styling