Removes unnecessary JS variable