javascript for aspect dropdown