attr -> prop and document.getElementbyID() to $("#