mode js moved, put license into files