changed js inclusion order