added javascript for a toggling colored box