Add autodetect & cached JavaScript integration from framework