workish (sortof) with JS and PHP direct. Need more polish…