changed to local js libraries