Added JS parsing. Test not working