attempt js workaround