Add use strict and change encoding