Does it really use JavaScript? I thought it works in a different way.