add notes on exponents to js