made jshint and jquery coding style compatible
removed string replace
Merge branch 'grunt' into bs_manual_merge

Conflicts:
	src/func/bbcode.php