Fixes js silly mistake