added script and ajax helpers