Implement PSI parser
Ensure integer is returned for totalBytes()
Do not name var after function
Fix formatting
Add MDN resource used