Javascript template updated
Small updates