some fixes to regress
Merge https://github.com/rranauro/boxspringjs