final js tweak