Update restler.js

Manual cherrypick of https://github.com/raymondfeng/restler/commit/a38c6d2701813a83bea46b987f10002a0d76d812