add an AMD module wrapper

This way, jstreegrid can be used with RequireJS