added css class to js