Ensure client bundlers load only client-side code

See https://gist.github.com/defunctzombie/4339901 for more details