add context path to reference javascript.