Little modification to appjs file