Though you stated you copied it to your server's folder, make sure you did... I don't know how many times I've copied code I've worked on to my client folder, to of course, have it do nothing.
(Easy to do when running server/client from same machine for testing)