moved source outside html, including js now