added prebundle support

typos + codestyle