inline and external JavaScript