using hosted js