make rendering like in notify-better and add commonjs loader