Testing out new things in javascript/Php