js additions to load and parse