Isolate find wishlist funciton so it can be overwritten

Fixes #43
Fix bug in javascript that prevented it from adding selected variant to list

Fixes #42