js order of includes was preventing bootstrap functionality