Include the original changes Made by skalski for jsmall