update readme, add js fiddle samples for variable methods