Refactored .boat to query DOM once