adding mas js