added some js to fix this ish