adding in js to try to get this to work