Small javascript lib (normal browser)