Swig templating in chrome packaged apps