changed JS file to most recent, added buffer loader api