fix reference and put use strict in all files