Fix template with GPWidget js-integration