jquery attr -> prop

Fixed usage of attr (needed prop) for proper show/hide