rebuilds javascript/** to fix mysterious double-content bug