initiated js, fixed a cache bug