adds asynchronous js