javascript additions