update index refs and add compressed js files