while I wouldn't have understood this right at the beginning, this article did help me organize code better on e I had learned the fundamentals. prolly not that useful to an expert tho
http://buildnewgames.com/js-game-code-org/
(edit - renamed thread ~neo)
some more articles i have read in the past year, some are for beginners, but i feel that i had to get past the beginning stages before a lot of this made sense to me.
a-star pathing:
http://theory.stanford.edu/~amitp/GameProgramming/
http://www.briangrinstead.com/blog/astar-search-algorithm-in-javascript
theta star path smoothing:
http://aigamedev.com/open/tutorials/theta-star-any-angle-paths/
reg expressions:
http://www.regular-expressions.info/javascript.html
inheritence:
http://www.2ality.com/2012/01/js-inheritance-by-example.html
http://www.klauskomenda.com/code/javascript-inheritance-by-example/
Renamed the thread for clarity.