Update configure.js

Sanitized the code a little bit