some javascript include fixes