Added if-statement for placeholder to script.js