Javascript interface to handle the 2dfGRS data