Added js for swf integration