adds fix to js