Fix #193 - compile sources in the order they were specified

Also, include specified js files