added phalanx.js, initial phalanx detection