Fix for #31

Fixes https://github.com/mixu/gluejs/issues/31#issuecomment-34024256