demo icons added, split out javascript