Add: separate javascript code from HTML