Alternative require implementation for ProwlJS