added javascript alert