put script in head for better IE handling
initial implementation of pls parser; add request module