adding javascript book examples