Referencing X2JS to work