Removed cdn links and minor js changes