Extract eval as a stand along javascript lib