Add new js config options and image tracking