Update get-by-id.js

WP Coding Standards + Typo fix
Merge pull request #24 from quasel/patch-7

Update get-by-id.js