Change rights on javascript files