rtree in front end working

Exactly the purpose of having added 'use strict' :-D