ASP Script is a server side scripting language and is executed on the server.
Javascript on the other hand is a client side scripting language which is executed on the client browser.
Since javascript is executed on the client, it doesn't need to make a network call and hence saves the round trip time it takes to send request and recieve response from the server. So JavaScript is faster.