js generated after improvements