Change the version to 3.1.8

Change the version to 3.1.8 - Stop scripts from being output
unnecessarily when we load the widget on the front-end.