More 'fixes' (aka bad temporary solutions) for using layoutmanager with browserify