quick fix for js