[WebBundle] Remove some useless characters from template

Fix #798.